# -*- coding: utf-8 -*-

# coding: UTF-8

# import urllib
# d = u'哈哈'
# str2 = d.encode('gb2312')
#
# print urllib.quote(str2)
import  re

a = "openView('CD1758330919','50','D')"

id_curr = re.findall(u'([a-zA-Z0-9]+)',a)[1]

print id_curr